package com.content.management.common;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author xinghu
 * @version 1.0
 * @date 2020/2/10 1:15 上午
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class BaseEntity extends BaseTimeEntity {

	@ApiModelProperty(value = "创建人ID")
	@TableField("create_user_id")
	private Long createUserId;

	@ApiModelProperty(value = "更新人ID")
	@TableField("update_user_id")
	private Long updateUserId;

	@ApiModelProperty(value = "备注信息")
	@TableField("remark")
	private String remark;

	@ApiModelProperty(value = "创建人姓名")
	@TableField("create_user_name")
	private String createUserName;

	@ApiModelProperty(value = "更新人姓名")
	@TableField("update_user_name")
	private String updateUserName;
}
